<% @main_header = "#{link_to('Ptrack:', '/')} Users" %>
<div id="info" class='column span-8 colborder '>
  <h3>User Info:</h3>
  <strong>Username:</strong> <%= @user.login%><br />
  <strong>Email:</strong> <%= link_to @user.email,"mailto:#{@user.email}"%><br />
  <strong>Name&Surname:</strong> <%= @user.name%>&nbsp;<%= @user.surname%><br />

  <% if current_user.is_admin %>
    <strong>Hourly Rate:</strong> <%= @user.hourly_rate %> TL/hour<br/>
  <%end%>
  <strong>Current Status:</strong> <%= @user.status%>
  <br/>
</div>